package com.dong.webMagic.dao;

import com.dong.webMagic.model.News;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewsMapper {

    int insert(News news);

    int update(News news);

    News findById(@Param("id") String id);

    List<News> findAll();
}